#include <stdio.h>

int main()
{
	char letter;
	char i,j, k, m, n;
	int a;
	printf("please input a letter:");
	scanf_s("%c",&letter);
	a = letter;
	for (i = 'A'; i < letter + 1; i++)
	{
		for (j = letter-i; j > 'A'; j--)
		{
			printf("*");
			/*for (k = 'A'; k < i+1; k++)
				printf("%c",k);*/


		}
		printf("\n");
	}

	
	return 0;
}